package com.aco.party.web.command.system;

import com.aco.party.model.po.Message;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
* Created by flying on 3/10/2016 0010.
*/
public class EditMessageCommand extends Message{
    private Long selectRoleId;

public void toCommand(Message po){
    BeanUtils.copyProperties(po, this);
}

public void toPo(Message po){BeanUtils.copyProperties(this,po);}

    public Long getSelectRoleId() {
        return selectRoleId;
    }

    public void setSelectRoleId(Long selectRoleId) {
        this.selectRoleId = selectRoleId;
    }
}
